package com.example.hp.yuejian5.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.hp.yuejian5.R;

public class TrainViewHolder extends RecyclerView.ViewHolder{
    public TextView train_name;
    public TextView train_address;
    public ImageView train_pic;
    public TrainViewHolder(View itemView) {
        super(itemView);
        train_address=itemView.findViewById(R.id.train_address);
        train_name=itemView.findViewById(R.id.train_name);
        train_pic=itemView.findViewById(R.id.train_pic);
    }
}
